<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      >
    <link rel="stylesheet" href="style.css" />
    <h:head>
        <title>Hakem Paneli</title>
    </h:head>
    
    <h:body>
             <div class ="header" >   <h3>   #{loginBean.fullname}, Hoşgeldiniz ! </h3>
               <h:form>
                 <h:commandButton action="index.xhtml" value=" Çıkış Yap " ></h:commandButton>
               </h:form>
                
            </div>
          
            <div class ="smallpanel">
                <h:form>
                    <h2><h:outputText value="Bir makale secin"/></h2>
                    <h:outputLabel value="Tanımlı Makaleler:  " />
                    <h:selectOneMenu value="#{JudgeBean.paper.paper_ID}">
                        <f:selectItems value="#{JudgeBean.papers}" />
                    </h:selectOneMenu>
                    <br /><br />
                    
                    <h:outputLabel value="Not Veriniz:" />
                    <h:selectOneMenu id="usertype" value="#{JudgeBean.paper.grade}">
                    <f:selectItem  itemLabel="1" itemValue="1" />
                    <f:selectItem  itemLabel="2" itemValue="2" />
                    <f:selectItem  itemLabel="3" itemValue="3" />
                    <f:selectItem  itemLabel="4" itemValue="4" />
                    <f:selectItem  itemLabel="5" itemValue="5" />
                    </h:selectOneMenu>
                    <br /><br />
                    
                    <h:outputLabel value=" Yorumlar : "/>
                    <h:inputText id="nameinput" value="#{JudgeBean.paper.comments}" required="true" requiredMessage=" Lütfen yorum da belirtiniz!"/><br /><br /> 
                    
                    <h:commandButton value="Kayıt Ol" action="#{JudgeBean.savePaperChanges}" onclick="KayitOk();"/>
                
                </h:form>
            </div>
       
<script type="text/javascript">

function KayitOk()
{
   onclick=alert('kaydiniz yapildi!');
}

</script>

    </h:body>
</html>

